// Kind Data Access Object
// Author: Xiao Jia
// Date: 2010/12/02

#pragma once

class Kind;

class KindDAO
{
public:
	/**
	 *	This method is called to read all Kind objects from some file.
	 *	You can get the current working directory using System::getWorkingDirectory().
	 *	You are supposed to call this method only once in ILibrary::initialize().
	 */
	static bool loadAll();
	
	/**
	 *	This method is called to write all Kind objects to some file.
	 *	You can get the current working directory using System::getWorkingDirectory().
	 *	You are supposed to call this method only once in ILibrary::finalize().
	 */
	static bool saveAll();
	
	// TODO: add whatever you need
};
